/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Common;

import java.io.PrintStream;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Scott
 */
public class ObjectFileRecord {
    
    public String Type;
    public List<String> Data;
    public String ProgramName;

    public ObjectFileRecord()
    {
        Data = new ArrayList<String>();
    }

    public void PrintRecord(PrintStream out)
    {
        out.print(Type);
        PrintRecordNoType(out);
    }

    public void PrintRecordNoType(PrintStream out)
    {

        for(String d : Data)
        {
            out.print(":");
            out.print(d);
        }
        out.println();
    }

}
